@extends('base')

@section('content')

    <h1>Create Purchase Order</h1>

    <!-- if there are creation errors, they will show here -->
    {{ HTML::ul($errors->all()) }}

    {{ Form::open(array('url' => 'customers')) }}

    <div class="form-group">
        {{ Form::label('name', 'Name') }}
        {{ Form::text('name', Input::old('name'), array('class' => 'form-control')) }}
    </div>

    {{ Form::submit('Add Customer', array('class' => 'btn btn-primary')) }}

    {{ Form::close() }}
@stop